package observer;

import lombok.extern.slf4j.Slf4j;

import java.util.Observable;
import java.util.Observer;

/**
 * @author zenghy
 **/
@Slf4j
public class BinaryObserver implements Observer {

    @Override
    public void update(Observable o, Object arg) {
        log.info("Binary observer: {}, arg {}", o.getClass(), arg);
    }
}
